/*
 * Copyright (c) 2014, Asiainfo-Linkage. All rights reserved.
 * Asiainfo-Linkage PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 */
package edu.w106.platform.scheduler;

/**
 * <p><b>标题：</b>JobConfig.</p>
 *
 * <p><b>描述：</b></p>
 *
 * <p><b>版权：</b>Copyright (c) 2014 亚信联创</p>
 *
 * <p><b>工程：</b>w106-mc</p>
 *
 * @author w106
 *
 * @version 1.0.0
 *
 * @since 2014-5-4 下午1:43:23
 */
public class JobConfig {
    /** job的名称.*/
    private String name;
    /** 所属的组.*/
    private String groupName;
    /** Unix cron表达式.*/
    private String cron;
    /** job的实现类.*/
    private String jobImplCls;
    /** 运行期参数.*/
    private String configs;
    /** 是否启用.*/
    private boolean enable;

    public JobConfig() {

    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    public String getCron() {
        return cron;
    }

    public void setCron(String cron) {
        this.cron = cron;
    }

    public String getConfigs() {
        return configs;
    }

    public void setConfigs(String configs) {
        this.configs = configs;
    }

    public String getJobImplCls() {
        return jobImplCls;
    }

    public void setJobImplCls(String jobImplCls) {
        this.jobImplCls = jobImplCls;
    }

    public boolean isEnable() {
        return enable;
    }

    public void setEnable(boolean enable) {
        this.enable = enable;
    }

}
